<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ page import="project.utils.Contents"%>
<% String login = (String) session.getAttribute("login");%>
<% // Проверка, прошел ли пользователь авторизацию.
	if (session.getAttribute("userid")==null) {
		%><jsp:forward page="input.jsp"></jsp:forward>
<%
	}
	else // все хорошо, можно работать!
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SportPlanet</title>
<style type="text/css">
body {background-image: url(images/Sport.jpg);background-repeat: repeat-y;}
body,td,th {color: #F60;}
.А {font-family: Verdana, Geneva, sans-serif;}
.В {font-family: Courier New, Courier, monospace;}
.В {font-family: Lucida Console, Monaco, monospace;}
.В {font-family: Comic Sans MS, cursive;}
.В {font-family: Comic Sans MS, cursive;}
.В {font-family: Comic Sans MS, cursive;}
.В {font-family: Comic Sans MS, cursive;}
.В {font-family: Comic Sans MS, cursive;}
.в {font-family: Comic Sans MS, cursive;}
home {font-size: 18px;}
home {font-size: 24px;}
a:link {color: #0F0;text-decoration: none;}
a:visited {color: #0F0;	text-decoration: none;}
a:hover {text-decoration: none;color: #060;}
a:active {text-decoration: none;color: #F60;}
</style>
</head>

<body>
	<div align="center">
		<table width="864" border="1">
			<tr>
				<th height="185" colspan="4" bgcolor="#000000" scope="col">
					<form id="form3" name="form3" method="post" action="">
						<div align="right">
							<a href="editUser.jsp"><font color="#FF6600"><%=login%></font></a>
							| <a href="input.jsp">LOGOUT &nbsp;&nbsp;&nbsp;</a>
						</div>
					</form>
					<h1>
						<strong class="В"><em>PLANET OF SPORT </em></strong><img
							src="images/Planet.jpg" width="260" height="208" alt="" />
					</h1>
				</th>
			</tr>
			<tr>
				<td width="195" bgcolor="#000000"><h2 align="center" class="В">
						<strong><a href="Home.jsp?tab=home">ГЛАВНАЯ</a></strong>
					</h2></td>
				<td width="215" bgcolor="#000000"><h2 align="center" class="В">
						<strong><a href="Games.jsp">ИГРЫ</a></strong>
					</h2></td>
				<td width="210" bgcolor="#000000"><h2 align="center" class="В">
						<a href="Participants.jsp">УЧАСТНИКИ</a>
					</h2></td>
				<td width="216" height="65" bgcolor="#000000"><h2
						align="center" class="В">
						<a href="Home.jsp?tab=about">О САЙТЕ</a>
					</h2></td>
			</tr>
			<tr>
				<td height="55" bgcolor="#000000"><div align="center">
						<a href="Participants/createParticipants.jsp" TARGET="main_window">СОЗДАТЬ</a>
					</div></td>
				<td height="55" bgcolor="#000000"><div align="center">
						<a href="Participants/players.jsp" TARGET="main_window">ИГРОКИ</a>
					</div></td>
				<td height="55" bgcolor="#000000"><div align="center">
						<a href="Participants/teams.jsp" TARGET="main_window">КОМАНДЫ</a>
					</div></td>
				<td height="55" bgcolor="#000000"><div align="center">
						<a href="Participants/rating.jsp" TARGET="main_window">РЕЙТИНГ</a>
					</div></td>
			</tr>
			<tr>
				<td height="750" colspan="4" bgcolor="#000000"><div
						align="center">
						<iframe name="main_window"
							src="Participants/createParticipants.jsp" width="894"
							height="750" FRAMEBORDER="no" hspace="10" vspace="10"
							align="center"> </iframe>
					</div></td>
			</tr>
		</table>
	</div>
</body>
</html>
